package com.retired_serviceman_management.entity;

import java.io.Serializable;
import java.util.Objects;

/**
 * (EnterpriseInfo)实体类
 *
 * @author makejava
 * @since 2023-02-26 21:53:37
 */
public class EnterpriseInfo implements Serializable {
    private static final long serialVersionUID = 764002983466346303L;
    /**
     * 企业编号
     */
    private Integer comId;
    /**
     * 企业名称
     */
    private String comName;
    /**
     * 企业地点
     */
    private String comLocal;
    /**
     * 招聘要求
     */
    private String recruitmentRequirements;
    /**
     * 招聘要求
     */
    private String recruitmentPositions;
    /**
     * 薪资范围
     */
    private String salaryRange;
    /**
     * 职业教育信息
     */
    private String vocationalInfo;
    /**
     * 职业信息状态
     */
    private String enStatus;
    /**
     * 公司账号
     */
    private String comAccount;
    /**
     * 公司密码
     */
    private String comPassword;

    /**
     * 有效状态
     */
    private String HR_STATUS;

    public EnterpriseInfo() {
    }

    public EnterpriseInfo(String comName, String comLocal, String recruitmentRequirements, String recruitmentPositions, String salaryRange, String comAccount, String comPassword) {
        this.comName = comName;
        this.comLocal = comLocal;
        this.recruitmentRequirements = recruitmentRequirements;
        this.recruitmentPositions = recruitmentPositions;
        this.salaryRange = salaryRange;
        this.comAccount = comAccount;
        this.comPassword = comPassword;
    }

    @Override
    public String toString() {
        return "EnterpriseInfo{" +
                "comId=" + comId +
                ", comName='" + comName + '\'' +
                ", comLocal='" + comLocal + '\'' +
                ", recruitmentRequirements='" + recruitmentRequirements + '\'' +
                ", recruitmentPositions='" + recruitmentPositions + '\'' +
                ", salaryRange='" + salaryRange + '\'' +
                ", vocationalInfo='" + vocationalInfo + '\'' +
                ", enStatus='" + enStatus + '\'' +
                ", comAccount='" + comAccount + '\'' +
                ", comPassword='" + comPassword + '\'' +
                ", HR_STATUS='" + HR_STATUS + '\'' +
                '}';
    }


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getComId() {
        return comId;
    }

    public void setComId(Integer comId) {
        this.comId = comId;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getComLocal() {
        return comLocal;
    }

    public void setComLocal(String comLocal) {
        this.comLocal = comLocal;
    }

    public String getRecruitmentRequirements() {
        return recruitmentRequirements;
    }

    public void setRecruitmentRequirements(String recruitmentRequirements) {
        this.recruitmentRequirements = recruitmentRequirements;
    }

    public String getRecruitmentPositions() {
        return recruitmentPositions;
    }

    public void setRecruitmentPositions(String recruitmentPositions) {
        this.recruitmentPositions = recruitmentPositions;
    }

    public String getSalaryRange() {
        return salaryRange;
    }

    public void setSalaryRange(String salaryRange) {
        this.salaryRange = salaryRange;
    }

    public String getVocationalInfo() {
        return vocationalInfo;
    }

    public void setVocationalInfo(String vocationalInfo) {
        this.vocationalInfo = vocationalInfo;
    }

    public String getEnStatus() {
        return enStatus;
    }

    public void setEnStatus(String enStatus) {
        this.enStatus = enStatus;
    }

    public String getComAccount() {
        return comAccount;
    }

    public void setComAccount(String comAccount) {
        this.comAccount = comAccount;
    }

    public String getComPassword() {
        return comPassword;
    }

    public void setComPassword(String comPassword) {
        this.comPassword = comPassword;
    }

    public String getHR_STATUS() {
        return HR_STATUS;
    }

    public void setHR_STATUS(String HR_STATUS) {
        this.HR_STATUS = HR_STATUS;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof EnterpriseInfo)) return false;
        EnterpriseInfo that = (EnterpriseInfo) o;
        return Objects.equals(comId, that.comId) && Objects.equals(comName, that.comName) && Objects.equals(comLocal, that.comLocal) && Objects.equals(recruitmentRequirements, that.recruitmentRequirements) && Objects.equals(recruitmentPositions, that.recruitmentPositions) && Objects.equals(salaryRange, that.salaryRange) && Objects.equals(vocationalInfo, that.vocationalInfo) && Objects.equals(enStatus, that.enStatus) && Objects.equals(comAccount, that.comAccount) && Objects.equals(comPassword, that.comPassword) && Objects.equals(HR_STATUS, that.HR_STATUS);
    }

    @Override
    public int hashCode() {
        return Objects.hash(comId, comName, comLocal, recruitmentRequirements, recruitmentPositions, salaryRange, vocationalInfo, enStatus, comAccount, comPassword, HR_STATUS);
    }
}

